//
//  DABorrowBookTableViewCell.h
//  DABook
//
//  Created by DreamArts on 16/4/22.
//  Copyright © 2016年 lidongyang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DAHomePageTimeLineModel.h"


@class DABorrowBookModel;
@class DACommentView;
@class DACommentButton;
/** 协议*/
@protocol borrowBookShowDetail <NSObject>
/** 协议方法*/
- (void)borrowBookShowDetail:(NSString *)bookID;
/** 页面跳转*/
- (void)borrowCellTurnPersonalPageWithUserID:(NSString *)userId;
@end
@interface DABorrowBookTableViewCell : UITableViewCell
@property (nonatomic, strong) DABorrowBookModel *borrowBookModel;
@property (nonatomic, strong) DAHomePageTimeLineModel *timelineModel;

@property (weak, nonatomic) IBOutlet DACommentView *commentView;
@property (weak, nonatomic) IBOutlet DACommentButton *DACommentButton;
@property (nonatomic, strong) NSIndexPath *borrowCellIndexPath;
@property (nonatomic, strong) NSMutableArray *commentArray;

/** 设置代理人属性*/
@property (nonatomic, weak) id<borrowBookShowDetail>delegate;
@end
